function MainAssistant() {

}

MainAssistant.prototype.setup = function() {
	this.controller.listen($('goShoppingButton'), Mojo.Event.tap,
			this.goShopping.bind(this));
	this.controller.listen($('updateNeedsButton'), Mojo.Event.tap, this
			.updateNeeds.bind(this));
	this.controller.listen($('manageShoppingList'), Mojo.Event.tap, this
			.manage.bind(this));
};

MainAssistant.prototype.activate = function(event) {
	/*
	 * put in event handlers here that should only be in effect when this scene
	 * is active. For example, key handlers that are observing the document
	 */
};

MainAssistant.prototype.goShopping = function() {

};

MainAssistant.prototype.updateNeeds = function() {

};

MainAssistant.prototype.manage = function() {
	this.controller.stageController.pushScene("manage");
};

MainAssistant.prototype.deactivate = function(event) {
	/*
	 * remove any event handlers you added in activate and do any other cleanup
	 * that should happen before this scene is popped or another scene is pushed
	 * on top
	 */
};

MainAssistant.prototype.cleanup = function(event) {
	this.controller.stopListening($('goShoppingButton'), Mojo.Event.tap,
			this.goShopping.bind(this));
	this.controller.stopListening($('updateNeedsButton'), Mojo.Event.tap, this
			.updateNeeds().bind(this));
	this.controller.stopListening($('manageShoppingList'), Mojo.Event.tap, this
			.updateNeeds().bind(this));
};
